package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @BelongsProject: sky-take-out
 * @Author: song
 * @CreateTime: 2024-01-15  16:02
 * @Description: C端购物车接口
 * @Version: 1.0
 */
public interface ShoppingCartService {

    /*
     * @description:添加购物车方法
     * @author: song
     * @date: 2024/1/15 16:03
     * @param: [shoppingCartDTO]
     * @return: void
     **/
    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);
    /**
     * @description:查看购物车
     * @author: song
     * @date: 2024/1/15 16:48
     * @param: []
     * @return: java.lang.Object
     **/
    List<ShoppingCart> showShoppingCart();
    /**
     * @description:清空购物车
     * @author: song
     * @date: 2024/1/15 16:56
     * @param: []
     * @return: void
     **/
    void deleteShoppingCart();
}
